package com.pyound.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pyound.entity.FastdfsDataEntity;

import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-05-04 13:29:35
 */
public interface FastdfsDataService extends IService<FastdfsDataEntity> {

    /**
     * 上传文件
     * @param fileName 文件原名称
     * @param buff 文件字节
     * @return
     */
    FastdfsDataEntity upload(String fileName,byte[] buff);
}

